/*
 * @Author: CoderLPF
 * @Date: 2020-05-05 14:03:43
 * @LastEditTime: 2020-05-05 14:08:08
 * @LastEditors: CoderLPF
 * @Description: 
 * @FilePath: \fzx-system-fd\src\api\fieldcondition\index.js
 */

import api from '../index';
import urls from './urls';

const header = {};

export default {
    getbyid(id) {
        return api.get(urls.getbyid, { id: id }, null);
    },
    getbyids(ids) {
        return api.get(urls.getbyids, { ids: ids }, null);
    },
    add(data) {
        return api.post(urls.add, null, null, data);
    },

    update(data) {
        return api.post(urls.update, null, null, data);
    }
};